<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<img src="http://pic25.nipic.com/20121112/5955207_224247025000_2.jpg" width="123" height="123" onload="javascript:alert('err');" onerror="javascript:alert('err');">
<a href="javascript:void(0)">123</a>
</body>
</html>
<script>
    function alert() {
        alert(123);
    }
</script>